package com.yqg.manage.service.impl;

import com.yqg.manage.entity.Menu;
import com.yqg.manage.mapper.MenuMapper;
import com.yqg.manage.service.IMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * MenuServiceImpl 服务实现类
 * @author suzhuang
 * @since 2023-07-05
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements IMenuService {
    @Resource
    MenuMapper menuMapper;
    @Override
    public List<Menu> findAllPid() {
        return menuMapper.findAllPid();
    }
}
